<form class="form-horizontal" action="<?= current_url() ?>" method="post" id="form-validate" >
    <div id="validation" class="row-fluid">
        <div class="span12">
            <div class="box corner-all">
                <div class="box-header grd-white color-silver-dark corner-top">
                    <div class="header-control">
                        <a data-box="collapse"><i class="icofont-caret-up"></i></a>

                    </div>
                    <span><?= lang('label_menu_link_edit') . ' ' . lang('label_menu_link_bank').' ('.$bank->title.')'; ?></span>
                </div>
                <div class="box-body">

                    <fieldset>
                        <legend><?= lang('label_menu_link_add') . ' ' . lang('label_menu_link_bank'); ?></legend>
                        
                        <div class="control-group">
                            <label class="control-label" for="title"><?= lang('label_name') ?></label>
                            <div class="controls">
                                <input class="grd-white" name="title" id="title" placeholder="<?= lang('label_name') ?>" value="<?= (form_val('title')) ? form_val('title') : $bank->title ; ?>" type="text" />
                            </div>
                        </div>
                        
                        <div class="control-group">
                            <label class="control-label" for="owner"><?= lang('label_owner') ?></label>
                            <div class="controls">
                                <input class="grd-white" name="owner" id="owner" placeholder="<?= lang('label_owner') ?>" value="<?= (form_val('owner')) ? form_val('owner') : $bank->owner ; ?>" type="text" />
                            </div>
                        </div>
                        
                        <div class="control-group">
                            <label class="control-label" for="number"><?= lang('label_number') ?></label>
                            <div class="controls">
                                <input class="grd-white" name="number" id="number" placeholder="<?= lang('label_number') ?>" value="<?= (form_val('number')) ? form_val('number') : $bank->number ; ?>" type="text" />
                            </div>
                        </div>
                        
                        <div class="control-group">
                            <label class="control-label" for="iban"><?= lang('label_ibn') ?></label>
                            <div class="controls">
                                <input class="grd-white" name="iban" id="iban" placeholder="<?= lang('label_ibn') ?>" value="<?= (form_val('iban')) ? form_val('iban') : $bank->iban ; ?>" type="text" />
                            </div>
                        </div>
                        
                        <div class="control-group">
                            <label class="control-label" for="publish"><?= lang('label_publish') ?></label>
                            <div class="controls">
                                <input style="width: 5%" name="publish" id="publish" placeholder="<?= lang('label_publish') ?>" type="checkbox" <?php if($bank->publish == 'YES') echo 'checked' ?> />
                            </div>
                        </div>
                        
                        <div class="form-actions">
                            <button type="submit" class="btn btn-primary"><li class="icon-edit" style="margin-left: 5px"></li><?= lang('label_edit') ?></button>
                            <button type="button" class="btn">Cancel</button>
                        </div>
                    </fieldset>


                </div>
            </div>
        </div>
    </div>
</form>